<link href="__CMS_PATH__/css/layout.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="__CMS_PATH__/js/common.js" charset="utf-8"></script>
<link href="__SITE_RESOURCE__/js/perfect-scrollbar.min.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="__SITE_RESOURCE__/js/perfect-scrollbar.min.js"></script>
<script type="text/javascript">
    var PRICE_FORMAT = '元%s';
    var LOADING_IMAGE = '<?php echo getLoadingImage();?>';
    $(function(){
        //search
        $("#searchCMS").children('ul').children('li').click(function(){
            $(this).parent().children('li').removeClass("current");
            $(this).addClass("current");
            $("#form_search").attr("action", $(this).attr("action"));
            $("#act").val($(this).attr("act"));
            $("#op").val($(this).attr("op"));
        });
        var search_current_item = $("#searchCMS").children('ul').children('li.current');
        $("#form_search").attr("action", search_current_item.attr("action"));
        $("#act").val(search_current_item.attr("act"));
        $("#op").val(search_current_item.attr("op"));
    });
</script>
